<?php

namespace App\Http\Requests\Admin\Ucenter\User;

use App\Http\Requests\BaseRequest;

/**
 *
 * @authors generator
 * @date    2020-11-06 18:43:39
 */
class LoginRequest extends BaseRequest
{
    /**
     * 返回参数验证规则.
     *
     * @return array
     */
    protected function rule(): array
    {
        return [
            // 账号
            'username',
            // 密码
            'password'
        ];
    }
}
